<%-- 
    Document   : addEvent
    Created on : Mar 7, 2013, 3:06:19 PM
    Author     : mruiz
--%>

<%@page import="java.util.List"%>
<%@page import="com.es.bxip.domain.Deal"%>
<%@page import="com.es.bxip.service.DealService"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html lang="es">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Bxip</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <!-- Le styles -->
        <link href="resources/css/style.css" rel="stylesheet">
        <script src="resources/js/jquery.js"></script>
        <script src="resources/js/bootstrap.min.js"></script>
        <script src="resources/js/bootstrap-datepicker.js"></script>
        <script src="resources/js/js.js"></script>
        <script src="resources/js/bxipjs.js"></script>
        <script src="resources/media/js/jquery.dataTables.js"></script>
        <style>
            body {
                padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
            }
        </style>
        <link href="resources/css/bootstrap-responsive.css" rel="stylesheet">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->


        <script type="text/javascript"
                src="http://maps.googleapis.com/maps/api/js?key=AIzaSyADOqn1zyBUQMuIaiDA6ngofbajd7RP04M&sensor=true">
        </script>
        
        
        
         <script type="text/javascript">
                
//             
//      function initialize() {
//        var mapOptions = {
//          center: new google.maps.LatLng(-34.397, 150.644),
//          zoom: 8,
//          mapTypeId: google.maps.MapTypeId.ROADMAP
//        };
//        var map = new google.maps.Map(document.getElementById("map_canvas"),
//            mapOptions);
//      }
//  

               
                            </script>
        
    </head>


    <body onload="initialize()">
        <jsp:include page="header.jsp"/>


        <div class="container">
            <form id="create_event_post" class="form-horizontal" method="POST" >
                <!--titulo-->
                <div class="control-group">
                    <label class="control-label" for="inputTitle">Titulo</label>
                    <div class="controls">
                        <h4><input id="input_title" class="datepicker span2" size="16" type="text"/></h4>
                    </div>   
                </div>

                
                
                <!--description-->
                <div class="control-group">
                    <label class="control-label" for="inputWhen">Description</label>
                    <div class="controls">
                        <input id="input_when" class="datepicker span2" size="16" type="text"/>
                    </div>   
                </div>
                
                
                <!--cuando-->
                <div class="control-group">
                    <label class="control-label" for="inputWhen">¿Cuándo?</label>
                    <div class="controls">
                        <input id="input_when"class="datepicker span2" size="16" type="text"/>
                    </div>   
                </div>
                <!--donde-->
                <div class="control-group">
                    <label class="control-label" for="inputWhere">¿Dónde?</label>
                    <div class="controls">
                        <input id="input_where" class="span2" size="16" type="text"/>
                    </div>   
                </div>

                <!-- Categoría:-->


                <div class="control-group">  
                    <label class="control-label" for="select_cat">Categoría:</label>  
                    <div class="controls">  
                        <select id="input_category">  
                            <option>Beber y comer</option>  
                            <option>Cultura</option>  
                            <option>Fiestas</option>  
                            <option>Deportes</option>  
                            <option>Relax</option>  
                            <option>Otros</option>
                        </select>  
                    </div>  
                </div>


                <!--imagen-->
                <div class="control-group">
                    <label class="control-label" for="inputWhen">Imagen:</label>
                    <div class="controls">
                        <input id="input_event_image" type="file" />
                    </div>   
                </div>


                <!-- Descripción:-->
                <div class="control-group">
                    <label class="control-label" for="inputDescription">Descripción:</label>
                    <div class="controls">
                        <textarea id="input_description" value="Escribe tu descripción aquí..." cols="10" rows="4"> </textarea>
                    </div>   
                </div>

            </form>


            <div class="span3">
                <div id="map_canvas" style="width:100%; height:100%"></div>
                
            </div>

               
            
        </div> 




        <jsp:include page="footer.jsp"/>

        <!-- Le javascript
        ================================================== 
        <!-- Placed at the end of the document so the pages load faster -->

        <!--  <script src="resources/js/bootstrap-transition.js"></script>
           <script src="resources/js/bootstrap-alert.js"></script>
           <script src="resources/js/bootstrap-modal.js"></script>
           <script src="resources/js/bootstrap-dropdown.js"></script>
           <script src="resources/js/bootstrap-scrollspy.js"></script>
           <script src="resources/js/bootstrap-tab.js"></script>
           <script src="resources/js/bootstrap-tooltip.js"></script>
           <script src="resources/js/bootstrap-popover.js"></script>
           <script src="resources/js/bootstrap-button.js"></script>
           <script src="resources/js/bootstrap-collapse.js"></script>
           <script src="resources/js/bootstrap-carousel.js"></script>
           <script src="resources/js/bootstrap-typeahead.js"></script>-->

        <script type="text/javascript">
            
            
            //            console.log(localStorage.username);
            if (document.body.className === undefined) {
                document.getElementById('index_login_button').style.display = 'none';
            } else {
                document.getElementById('index_login_button').style.display = '';
            }
        </script>



    </body>
</html>



